package com.hl.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: sfzy
 * @ClassName SysCourseEvaluate
 * @description:
 * @author: lyp
 * @create: 2024-07-12 17:41
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysCourseEvaluate {
    private Integer id;
    private String reviewContent;
    private Integer rating;
    @JsonFormat(pattern="yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date reviewTime;
    private Integer userId;
    private String username;
    private Integer courseId;
    private String courseName;
    private String del;
}

